package com.groupseven.happycampus.service;

import com.groupseven.happycampus.common.pojo.ErrandAddress;
import com.groupseven.happycampus.common.pojo.ErrandOrder;
import com.groupseven.happycampus.common.vo.LayuiPageVo;

import java.util.List;
import java.util.Map;

public interface ErrandService {

    int addAddress(ErrandAddress address);

    int deleteAddress(Integer id);

    int updateAddress(ErrandAddress address);

    LayuiPageVo<ErrandAddress> addressPageData(Map<String, Object> params);

    int addOrder(ErrandOrder order);

    int deleteOrder(Integer id);

    int updateOrder(ErrandOrder order);

    LayuiPageVo<ErrandOrder> orderPageData(Map<String, Object> params);

    int deleteErrandsByIds(String ids);

    List<ErrandOrder> showAddress(String telephone);

}
